//
//  KABCosActiviyCCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/6/19.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABCosActiviyCCell;
@protocol KABCosActiviyCCellDelegate <NSObject>
@optional
- (void)kABCosActiviyCCell:(KABCosActiviyCCell *)cell voteBtnTapped:(UIButton *)btn;
@end

@class KABCosActivityItem;
@interface KABCosActiviyCCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIButton *rankBtn;
@property (weak, nonatomic) IBOutlet UIImageView *portraitImgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIButton *ticketCntBtn;
@property (weak, nonatomic) IBOutlet UIButton *voteBtn;

@property (weak, nonatomic) id<KABCosActiviyCCellDelegate>delegate;
- (void)configViewWithCosActItem:(KABCosActivityItem *)item;

@end
